package com.zziq.cloudpicturebank.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.zziq.cloudpicturebank.model.dto.vipcode.VipCodeBatchAddRequest;
import com.zziq.cloudpicturebank.model.dto.vipcode.VipCodeQueryRequest;
import com.zziq.cloudpicturebank.model.entity.Space;
import com.zziq.cloudpicturebank.model.entity.User;
import com.zziq.cloudpicturebank.model.entity.VipCode;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Mr·张
* @description 针对表【vip_code(会员兑换码表)】的数据库操作Service
* @createDate 2025-03-09 14:35:49
*/
public interface VipCodeService extends IService<VipCode> {
    /**
     * 批量添加会员兑换码
     * @param vipCodeBatchAddRequest
     * @param loginUser
     */
    void batchAddVipCode(VipCodeBatchAddRequest vipCodeBatchAddRequest, User loginUser);


    /**
     *获取查询条件
     * @param vipCodeQueryRequest
     * @return
     */
    QueryWrapper<VipCode> getQueryWrapper(VipCodeQueryRequest vipCodeQueryRequest);
}
